﻿using BCEntity.Common.WebsiteConfiguration;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCData.Common.WebsiteConfiguration
{
    /// <summary>
    /// 系统配置数据处理接口
    /// </summary>
    public interface IWebsiteConfigurationData
    {
        /// <summary>
        /// 获取当前
        /// </summary>
        /// <returns></returns>
        WebsiteConfigurationEntity Get();
        /// <summary>
        /// 获取系统配置信息
        /// </summary>
        /// <param name="websiteConfigurationId">系统配置信息Id</param>
        /// <returns></returns>
        WebsiteConfigurationEntity Get(int websiteConfigurationId);
        /// <summary>
        /// 更新系统配置信息
        /// </summary>
        /// <param name="websiteConfigurationEntity">系统配置信息</param>
        /// <returns></returns>
        WebsiteConfigurationEntity Update(WebsiteConfigurationEntity websiteConfigurationEntity);
    }
}
